#include "problems/84.h"
#include "gtest/gtest.h"

TEST(TestProblemSolutions, TestProblem84)
{
    problem_84::Solution s;
    vector<int> heights{2, 1, 5, 6, 2, 3};
    ASSERT_EQ(s.largestRectangleArea(heights), 10);
}